package org.example.springboot.dao;

import org.example.springboot.entity.Shop_Cart_Product;

import java.util.List;

public interface Shop_Cart_ProductDao {
    Boolean insert(Shop_Cart_Product shopCartProduct);
    Boolean update(Shop_Cart_Product shopCartProduct);
    Boolean delete(String id);
    List<Shop_Cart_Product> selectAll();

    //查看总行数
    public Integer selectCount();
    //分页查询方法
    public List<Shop_Cart_Product> selectLimit(int start, int rows);
}
